import request from '@/utils/request'

export function addData(data) {
  return request({
    url: '/system/cainetTypeConf',
    method: 'post',
    data,
  })
}

export function delData(ids) {
  return request({
    url: `/system/cainetTypeConf/${ ids }`,
    method: 'delete',
  })
}

export function editData(data) {
  return request({
    url: '/system/cainetTypeConf',
    method: 'put',
    data,
  })
}

export function getData(params) {
  return request({
    url: '/system/cainetTypeConf/list',
    method: 'get',
    params,
  })
}